import service from '@/utils/request'
// eslint-disable-next-line no-unused-vars
const { httpPostForm, httpPost, httpGet } = service

//房建物资采购计划
const request = {
    //列表分页查询
    planListByEntity (params) {
        return httpPost({
            url: '/material/purchasePlan/listByEntity',
            params
        })
    },
    //新增物资采购计划
    AddformData (params) {
        return httpPost({
            url: '/material/purchasePlan/create',
            params
        })
    },
    //修改物资采购计划
    EditpurchasePlan (params) {
        return httpPost({
            url: '/material/purchasePlan/update',
            params
        })
    },
    //修改物资采购计划明细
    EditpurchasePlanList (params) {
        return httpPost({
            url: '/material/purchasePlan/updateList',
            params
        })
    },
    //新增物资采购计划变更
    Changecreate (params) {
        return httpPost({
            url: '/material/purchasePlanChange/create',
            params
        })
    },
    //修改物资采购计划变更
    Changeupdate (params) {
        return httpPost({
            url: '/material/purchasePlanChange/update',
            params
        })
    },
    //修改物资采购计划变更明细
    ChangeupdateList (params) {
        return httpPost({
            url: '/material/purchasePlanChange/updateList',
            params
        })
    },

}

export default request